Skip to main content

UploadCACertificate

Description

call UploadCACertificate to upload CA certificate.

Request Method

POST

Request Path

/apsara/route/Slb/UploadCACertificate

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
CACertificateBODYstringYestestthe content of the CA certificate to be uploaded.
CACertificateNameBODYstringNomycacert01CA certificate name.
RegionIdBODYstringYescn-qingdao-env17-d01the region ID of the load balancing instance. you can query the region by calling DescribeRegions interface ID.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
Fingerprintstring02:DF: AB :EDfingerprint of CA certificate.
RequestIdstring365F4154-92F6-4AE4-92F8-7FF34B540710request ID.
CACertificateIdstring139a00604ad-cn-east-hangzh****CA certificate ID.
CACertificateNamestringmycacert01the name of the ca certificate.

Example

Successful Response example

{
"Fingerprint":"02:DF: AB :ED",
"RequestId":"365F4154-92F6-4AE4-92F8-7FF34B540710",
"CACertificateId":"139a00604ad-cn-east-hangzh****",
"CACertificateName":"mycacert01"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}